package com.tencreat.domain.pt.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.tencreat.common.annotation.Excel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * @author huang wei
 * @version 1.0
 * @date 2021/12/25 13:43
 */
@Data
public class ResAdminPtHistoryInfoVo implements Serializable {

    @ApiModelProperty(value = "期数")
    @Excel(name = "期数")
    private Integer periods;

    @ApiModelProperty(value = "用户UUID")
    @Excel(name = "用户UUID")
    private Long uuid;

    @ApiModelProperty(value = "用户手机号")
    @Excel(name = "用户手机号")
    private String phone;

    @ApiModelProperty(value = "是否拼中")
    @Excel(name = "是否拼中")
    private String isWin;

    @ApiModelProperty(value = "兑换类型")
    @Excel(name = "兑换类型")
    private String exchangeType;

    @ApiModelProperty(value = "收益")
    @Excel(name = "收益")
    private BigDecimal income;

    @Excel(name = "开奖时间",dateFormat = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "开奖时间")
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime drawTime;
}
